﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Show_Manage.aspx.cs" Inherits="admin_News_Manage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
   <link href="img/admin_css.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" language="javascript" charset="gb2312" src="img/del.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div style=" margin:0 0 6px 0px; width:805px;">
        <asp:DropDownList ID="DropDownList1" runat="server">
         <asp:ListItem Selected>请选择</asp:ListItem>
        <asp:ListItem>国内展会</asp:ListItem>
        <asp:ListItem>国外展会</asp:ListItem>
        <asp:ListItem>展会常识</asp:ListItem>
        <asp:ListItem>展馆介绍</asp:ListItem>
        </asp:DropDownList>
        <asp:Button ID="Button1" runat="server" Text="筛选分类" OnClick="Button1_Click" />
    </div>
        
    
<table width="805" height="53" border="0" cellpadding="0" cellspacing="1" bgcolor="#E2E2E2">
  <tr>
    <td width="575" height="30" align="center" bgcolor="#FFFFFF" class="b1">展会标题</td>
    <td width="110" align="center" bgcolor="#FFFFFF" class="b1">展会分类</td>
    <td width="56" align="center" bgcolor="#FFFFFF" class="b1">修改</td>
    <td width="59" align="center" bgcolor="#FFFFFF" class="b1" style="width: 59px">删除</td>
  </tr>
    <asp:Repeater runat="server" ID="Repeater1">
   <ItemTemplate>
  <tr>
    <td height="26" align="center" bgcolor="#FFFFFF"><%#Eval("n_Title")%></td>
    <td align="center" bgcolor="#FFFFFF"><%#Eval("n_Class")%></td>
    <td align="center" bgcolor="#FFFFFF"><a href="Show_Edit.aspx?n_ID=<%#Eval("n_ID")%>&n=edit">修改</a></td>
    <td align="center" bgcolor="#FFFFFF">
   
    
    <%if (Session["AdminType"].ToString() =="0")
      {%> <a href='Show_Edit.aspx?n_ID=<%#Eval("n_ID")%>&n=del' onclick="return ConfirmDel();">删除</a><%}%>
    <%else 
    {%><span style="color:#cccccc;">删除</span><%}%>
    </td>
  </tr>
     </ItemTemplate>
 </asp:Repeater>
</table>

 <div style=" margin:10px 0 0 200px; width:805px;">
    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
	</div>

    
    </div>
    </form>
</body>
</html>
